package com.example.mylog.mapper;

import com.example.mylog.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper {
    public List<User> getAllUser(@Param("beginPage") int beginPage,@Param("pageSize") int pageSize);
    public List<User> getUser();
    public List<User> getUserByTime(@Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
    public void insertMore(@Param("mylist") List<User> list);
    public List<User> getUsers(@Param("mymap")Map<String,Object> map);
}
